package com.itheima.stock;

import com.itheima.stock.properties.MarketProperties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * @author zby
 * @created 2024-06-21 22:28
 * @description 引导类
 */
@SpringBootApplication
@EnableAspectJAutoProxy
@MapperScan(basePackages = {"com.itheima.stock.mapper"})
@EnableConfigurationProperties(MarketProperties.class)
public class StockBootStrap {

    public static void main(String[] args) {
        SpringApplication.run(StockBootStrap.class, args);
    }

}